package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xmy.cultivate.entity.ClassRoom;
import com.xmy.cultivate.mapper.ClassRoomMapper;
import com.xmy.cultivate.service.IClassRoomService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 教室 服务实现类
 * </p>
 *
 * @author min
 * @since 2022-07-26
 */
@Service
public class ClassRoomServiceImpl extends ServiceImpl<ClassRoomMapper, ClassRoom> implements IClassRoomService {

    @Autowired
    ClassRoomMapper classRoomMapper;

    public IPage<Map<String,Object>> findAll(IPage<?> page,Wrapper wrapper){
        return  classRoomMapper.findAll(page,wrapper);
    }
}
